//
//  CRSessionAudioContentView.h
//  TestPrj
//
//  Created by 朱铅峰 on 2020/10/23.
//  Copyright © 2020 Xing. All rights reserved.
//

#import "CRSessionMessageContentView.h"

@protocol CRPlayAudioUIDelegate <NSObject>
-(void)startPlayingAudioUI;  //点击一开始就要显示
@optional
- (void)retryDownloadMsg; //重收消息
@end

@interface CRSessionAudioContentView : CRSessionMessageContentView

@property (nonatomic, strong) UILabel     *audioDurationLable; //语音时长

@property (nonatomic, weak) id<CRPlayAudioUIDelegate> audioUIDelegate;

@property (nonatomic, strong) UIView *audioBackgroundView;

- (void)setPlaying:(BOOL)isPlaying;

@end
